#include "fs/fs.h"
#include "inode/inode.h"

#include "mtd_common.h"
static int mtdblock_open(FAR struct inode *inode_p)
{
    return 0;
}

static int mtdblock_close(FAR struct inode *inode_p)
{
    return 0;
}

static ssize_t mtdblock_read(FAR struct inode *inode_p, FAR unsigned char *buffer,
                             unsigned long long start_sector, unsigned int nsectors)
{
    return 0;
}

static ssize_t mtdblock_write(FAR struct inode *inode_p, FAR const unsigned char *buffer,
                              unsigned long long start_sector, unsigned int nsectors)
{
    return 0;
}

static int mtdblock_geometry(FAR struct inode *inode_p, FAR struct geometry *geometry_p)
{
    return 0;
}

static int mtdblock_ioctl(FAR struct inode *inode_p, int cmd, unsigned long arg)
{
    return 0;
}

const struct block_operations g_dev_nand_ops = {
    .open       = mtdblock_open,
    .close      = mtdblock_close,
    .read       = mtdblock_read,
    .write      = mtdblock_write,
    .geometry   = mtdblock_geometry,
    .ioctl      = mtdblock_ioctl,
    .unlink     = NULL
};

const struct block_operations g_dev_spinor_ops = {
    .open       = mtdblock_open,
    .close      = mtdblock_close,
    .read       = mtdblock_read,
    .write      = mtdblock_write,
    .geometry   = mtdblock_geometry,
    .ioctl      = mtdblock_ioctl,
    .unlink     = NULL
};

